package com.gyg.service;

import com.gyg.domain.CloudPicture;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gyg.returns.RespEntity;
import com.gyg.returns.RespTable;
import com.gyg.vo.param.BanParam;
import com.gyg.vo.param.FileParam;
import com.gyg.vo.result.PictureResult;

import java.util.List;

/**
 * <p>
 * 图片信息表 服务类
 * </p>
 *
 * @author gyg
 * @since 2021-04-14
 */
public interface CloudPictureService extends IService<CloudPicture> {

    /**
     * 图片列表
     * @param fileParam
     * @return
     */
    RespTable<List<PictureResult>> pictureList(FileParam fileParam);

    /**
     * 封禁图片
     * @param banParam
     * @return
     */
    RespEntity banPicture(BanParam banParam);

    /**
     * 解封图片
     * @param banParam
     * @return
     */
    RespEntity unsealPicture(BanParam banParam);

}
